package cn.tedu.mall.front.mappers;

import cn.tedu.mall.pojo.product.vo.SpuListItemVO;
import cn.tedu.mall.pojo.product.vo.SpuStandardVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FrontSpuMapper {
    List<SpuListItemVO> selectSpuByCategoryId(@Param("categoryId") Long id);

    SpuStandardVO selectSpuBySpuId(Long id);
}
